package org.apache.click.doubleclick.annotationconfig.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation to use to indicate that the annotated class is a logger service. The
 * annotated class must have to be instance of {@link org.apache.click.service.LogService}
 * otherwise a runtime exception will be thrown. Only one log service is allowed
 * per application. If more then one class found with this annotation then runtime
 * exception will be thrown.
 *
 * @author Jahid Shohel (jshohel@gmail.com)
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface LoggingService {
}
